ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.Direct3D11 Namespace / ComputeShaderStage Class / SetUnorderedAccessViews Method / SetUnorderedAccessViews(Int32,UnorderedAccessView[],Int32[]) Method
Index of the first element in the zero-based array to begin setting.
A reference to an array of UnorderedAccessView references to be set by the method.
An array of Append/Consume buffer offsets. A value of -1 indicates the current offset should be kept. Any other values set the hidden counter for that Appendable/Consumable UAV. pUAVInitialCounts is only relevant for UAVs which have the UnorderedAccessViewBufferFlags flag, otherwise the argument is ignored.

In This Topic
    SetUnorderedAccessViews(Int32,UnorderedAccessView[],Int32[]) Method
    In This Topic
    Sets an array of views for an unordered resource.
    Syntax
    'Declaration
     
    Public Overloads Sub SetUnorderedAccessViews( _
       ByVal startSlot As Integer, _
       ByVal unorderedAccessViews() As UnorderedAccessView, _
       ByVal uavInitialCounts() As Integer _
    ) 
    public void SetUnorderedAccessViews( 
       int startSlot,
       UnorderedAccessView[] unorderedAccessViews,
       int[] uavInitialCounts
    )

    Parameters

    startSlot
    Index of the first element in the zero-based array to begin setting.
    unorderedAccessViews
    A reference to an array of UnorderedAccessView references to be set by the method.
    uavInitialCounts
    An array of Append/Consume buffer offsets. A value of -1 indicates the current offset should be kept. Any other values set the hidden counter for that Appendable/Consumable UAV. pUAVInitialCounts is only relevant for UAVs which have the UnorderedAccessViewBufferFlags flag, otherwise the argument is ignored.
    See Also